{include file=member.header.html}
{include file="title.html"}
{include file=member.submenu.html}
<script language = "JavaScript">
    /*修改密码表单*/
    function editpass()
    {
        if (document.edit_pass.y_pass.value == "")
        {
            alert("{$lang.mimabunengweikong}");
            document.edit_pass.y_pass.focus();
            return false;
        }

        if (document.edit_pass.my_pass.value == "")
        {
            alert("{$lang.mimabunengweikong}");
            document.edit_pass.my_pass.focus();
            return false;
        }

        if (document.edit_pass.my_pass2.value == "")
        {
            alert("{$lang.mimabunengweikong}");
            document.edit_pass.my_pass2.focus();
            return false;
        }
        return true;
    }
</script>

<form name="edit_pass" onSubmit="return editpass()" method="post">
    <ul class="form_content">
        <!--{if $member.zf_pass}-->
        <li><h3>{$lang.yuanmimad}:</h3>
            <p><input type="password"  name="y_pass"  placeholder="{$lang.default_password}" />{$lang.forget_password_click}<a href="{url app=account_log&act=findpassword}">{$lang.find}</a></p>
        </li>
        <!--{/if}-->
        <li>
            <h3>{$lang.xinmimad}:</h3>
            <p><input type="password"  name="zf_pass" /></p>
        </li>
        <li>
            <h3>{$lang.querenmimad}:</h3>
            <p><input type="password"  name="zf_pass2" /></p>
        </li>
        <li>
            <input class="red_btn" type="submit" value="{$lang.submit}" />
        </li>
    </ul>
</form>
{include file="footer.html"}